package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingUseHistoryCouponExample;
import com.xingkeduo.model.po.TMarketingUseHistoryCoupon;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingUseHistoryCouponMapper {
    int countByExample(TMarketingUseHistoryCouponExample example);

    int deleteByExample(TMarketingUseHistoryCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingUseHistoryCoupon record);

    int insertSelective(TMarketingUseHistoryCoupon record);

    List<TMarketingUseHistoryCoupon> selectByExample(TMarketingUseHistoryCouponExample example);

    TMarketingUseHistoryCoupon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingUseHistoryCoupon record, @Param("example") TMarketingUseHistoryCouponExample example);

    int updateByExample(@Param("record") TMarketingUseHistoryCoupon record, @Param("example") TMarketingUseHistoryCouponExample example);

    int updateByPrimaryKeySelective(TMarketingUseHistoryCoupon record);

    int updateByPrimaryKey(TMarketingUseHistoryCoupon record);
}